const express = require("express")

const home = express.Router() //创建路由

home.get("/", (req, res) => {  //必须要先匹配到/login ，才能来这儿
  
        res.send({
            message:"这是home请求",
            status:"200",
            data:[{name:"timi",session:req.session.username}]
        })  
})

module.exports = home